package model;

import java.util.List;

public class Book extends Document {
	
	private String type;
	private int nbPage;

	public Book(String title, short year, String type, List<String> authors, String editor, int nbPage) {
		super("Livre", year, title, authors, editor);
		this.type = type;
		this.nbPage = nbPage;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @return the nbPage
	 */
	public int getNbPage() {
		return nbPage;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @param nbPage the nbPage to set
	 */
	public void setNbPage(int nbPage) {
		this.nbPage = nbPage;
	}

}
